package com.ctbri.gui;

import javax.swing.JButton;
import javax.swing.JFrame;

import com.ctbri.util.SwingConsole;

import info.clearthought.layout.TableLayout;

public class TableLayoutDemo extends JFrame {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private double size[][] = {
			{100, 0.5, 0.2, TableLayout.FILL, 200, TableLayout.FILL},
			{TableLayout.FILL}
	};
	
	public TableLayoutDemo() {
		setLayout(new TableLayout(size));
		JButton button = new JButton("button1");
		add(button, "0,0");
	}
	public static void main(String[] args) {
		SwingConsole.run(new TableLayoutDemo(), 500, 500);
	}

}
